package com.yuyou.fn.portal.service;

import com.yuyou.fn.common.lang.Tuple2;
import com.yuyou.fn.portal.entity.OuterCourseClass;
import com.yuyou.fn.portal.vo.CourseClassDetail;
import com.yuyou.fn.portal.vo.OuterCourseClassQueryVo;
import com.yuyou.fn.portal.vo.ScheduleInfoVo;
import com.yuyou.fn.portal.vo.SimpleCourseClass;

import java.util.List;

/**
 * Created by wens on 2017/4/6.
 */
public interface IOuterCourseClassService {

    List<OuterCourseClass> findCourseClassByGrade(String gradeName );

    List<SimpleCourseClass> findOuterCourseClassByCondition(OuterCourseClassQueryVo outerCourseClassQueryVo, int pageNo, int pageSize);

    Tuple2<List<SimpleCourseClass>,Long> findByConditionForPage(OuterCourseClassQueryVo outerCourseClassQueryVo, int pageNo, int pageSize);

    SimpleCourseClass findSimpleCourseClassByClassId(Long  classId);

    List<SimpleCourseClass> findSimpleCourseClassByClassIds(List<Long> classIds);

    List<OuterCourseClass> findByClassIds(List<Long> classIds);

    OuterCourseClass findByClassId(Long classId);

    CourseClassDetail findClassDetailByClassId(Long classId);


    List<ScheduleInfoVo> findScheduleInfoByUserIdAndDate(Long studentId,Long userId, String dateString);




}
